@import "../css/var.less";
.homepage{
    .home-bar{
        height: 44px;
        width: 100%;
    }
    .home-main{
        padding-left: 160px;
        padding-top: 104px;
        position: relative;
        .home-main-top{
            background: #f9f9f9;
            .home-main-p-l{
                height: 88px;
                border-bottom: 2px solid #e0e5ea;
                margin-right: 30px;
                h2{
                    padding-top: 28px;
                    font-size: 18px;
                    font-weight: bold;
                    color: #333333;
                }
                div{
                    font-size: 14px;
                    color: #666666;
                    margin-top: 3px;
                }
            }
           
        }
        .home-main-sec{
            height: 270px;
            background: #f9f9f9;
            padding: 0 30px;
            .home-main-secs{
                padding-left: 26px;
                border-radius: 5px;
                height: 220px;
                background: #fff;
                margin-top: 26px;
                padding-top: 26px;
            }
            .home-main-sec1{
                width: 30%;
                border-left: 20px solid #f9f9f9;
                position: relative;
                padding-left: 0px;

                .home-main-sec-top{
                    padding-left: 26px;
                }
                .swiper-container{
                    width: 260px;
                    margin: 20px auto 0;
                    .swiper-slide-prev,.swiper-slide-next{
                        .opacity(0.5,50);
                    }
                    .swiper-slide-prev{
                        transform: translateX(70px)   scale(0.8); 
                    }
                    .swiper-slide-active{
                        transform: translateX(42px) scale(1);
                    }
                    .swiper-slide-next{
                        transform:translateX(16px) scale(0.8);
                    }
                }
                .swiper-button-prev{
                    background: url('../images/left.png') center no-repeat;
                    top: 36px;
                    left: 80%;
                }
                .swiper-button-next{
                    background: url('../images/right.png') center no-repeat;
                    top: 36px;
                    left: 88%;
                }
                .swiper-slide{
                    background: url('../images/envelopes.png') 0 0 no-repeat;
                    width: 118px;
                    height: 108px;
                    .envelopes-data,.item-click,.item-money{
                        font-size: 12px;
                        color: #d54931;
                        text-align: center;
                        padding-top: 8px;
                    }
                    .item-money{
                        font-size: 36px;
                        font-weight: bold;
                        padding-top: 0px;
                    }
                    .item-click{
                        padding-top: 15px;
                        cursor: pointer;
                    }
                } 
            }
            .home-main-sec2{
                width: 40%;
                border-right: 20px solid #f9f9f9;
                .home-main-deal{
                    padding-top: 20px;
                    .home-main-deal-l{
                        width: 160px;
                        position: relative;
                        .home-main-deal-num{
                            h3{
                                font-size: 24px;
                                color: #333;
                                padding-top: 10px;
                            }
                            p{
                                font-size: 12px;
                                color: #666666;
                            };
                        }
                        .dealDay-img{
                            position: absolute;
                            left: 16px;
                            top: 14px;
                        }
                        .dealDay-imgs{
                            position: absolute;
                            left: 58px;
                            top:40px;
                            transform: rotate(-30deg);
                            transform-origin: 7px 25px;
                        }
                    }
                }
                .home-main-deal-r{
                    font-size: 14px;
                    color: #666666;
                    ul{
                        li{
                            height: 34px;
                            line-break: 34px;
                        }
                    }
                }
            }
            .home-main-sec3{
                width: 30%;
                border-left: 10px solid #f9f9f9;
                border-right: 10px solid #f9f9f9;
                .home-main-score,.home-main-scores{
                    .home-main-score-l{
                        width: 120px;
                    }
                    .home-main-score-r{
                        margin-right: 5px;
                        font-size: 14px;
                        color: #ff9265;
                    } 
                }
                .home-main-score{
                    padding-top: 16px;
                    .home-main-score-l{
                       font-size: 12px;
                    }
                }
                .home-main-scores-top{
                    margin-top: 20px;
                }
                .home-main-scores{
                    .home-main-score-l{
                       font-size: 24px;
                       padding-left: 10px;
                    }
                    .home-main-scores-ri{
                        padding: 0px 0 0 20px;
                        div{
                            margin-top: 6px;
                        }
                    }
                }
                .home-main-scoress{
                    padding-top: 10px;
                    .main-progress{
                        margin-top: 25px;
                    }
                }
            }
            .home-main-mar{
                margin: 26px 30px 0 30px;
            }
            .home-main-sec-top{
                font-size: 16px;
                color: #202020;
                font-weight: bold;
            }
        }
    }
}
.home-main-p-l{
    margin-left: 30px;
}
.home-main-transaction{
    background: #f9f9f9;  
    padding-left: 30px;
    border-radius: 5px;
    padding-right: 30px;
    .home-main-transactions{
        font-size: 16px;
        color: #202020;
        font-weight: bold;
        background: #fff;
        padding-top: 44px;
        padding-left: 26px;
    }
    #myChart{
        padding-top: 30px;
        background: #fff;
    }
}

.home-main-message{
    background: #f9f9f9;
    padding-left: 30px;
    padding-top: 30px;
    padding-right: 30px;
    .home-main-message-l,.home-main-message-r{
        width: 45%;
        height: 380px;
        background: #fff;
        padding: 40px 30px 0;
        border-radius: 5px;
        .home-main-message-t{
            font-size: 16px;
            color: #202020;
            font-weight: bold;
            padding-bottom: 10px;
        } 
        .my-integral{
            margin-top: 20px;
            .my-integral-l{
                width: 60%;
                #myIntegral{
                    width: 100%;
                    height:166px;
                }
            }
            .my-integral-r{
                margin-left: 20px;
                .my-integral-r-t{
                    width: 130px;
                    height: 60px;
                    border-radius: 5px;
                    background: #16c4c9;
                    color: #fff;
                    font-size: 12px;
                    padding: 5px 0 0 12px;
                    div{
                        font-size: 24px;
                        span{
                            font-size: 14px;
                        }
                    }
                    .my-integral-r-ts{
                        font-size: 12px;
                    }
                }
                .my-integrals-r-t{
                    background: #5dd054;
                    margin-top: 20px;
                }
            }
        }
    }
    .home-main-messages {
        ul,li{
            list-style: none;
            height: 52px;
            border-bottom: 1px solid #f2f4f3;
            line-height: 52px;
            font-size: 14px;
            color: #757474;
        }
    }
    .my-integral-bo{
        margin-top: 30px;
        ul{
            li{
                width: 50%;
                float: left;
                font-size: 14px;
                height: 24px;
                line-break: 24px;
                span{
                    color: #ff9265;
                }
            }
        }
        ul,li{
            list-style: initial;
        }
    }
    .home-main-message-r{
        width: 55%;
        border-left: 30px solid #f9f9f9;
    }
}